OS:="$(shell uname -s)"
LINUX="Linux"
SUNOS="SunOS"
FREEBSD="FreeBSD"

COMPILE=
STRIP=

all:
ifeq ($(OS),$(LINUX))
	gcc install-libtest.c -o install-libtest-linux -ldl
	strip --strip-unneeded install-libtest-linux
else ifeq ($(OS),$(FREEBSD))
	gcc install-libtest.c -o install-libtest-freebsd
	strip --strip-unneeded install-libtest-freebsd
else ifeq ($(OS),$(SUNOS))
	gcc install-libtest.c -o install-libtest-sunos
	gstrip --strip-unneeded install-libtest-sunos
else
	@echo "i have no idea what to do now."
endif